package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Item;

import java.util.List;

public interface ItemService {

    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(Item item);

    public void deleteById(Integer id);

    public void edit(Item item);

    public Item findById(Integer id);

    public List<Item> findAll();
}
